$OpenBSD: patch-gcc_c_c-decl_c,v 1.2 2014/05/25 21:45:39 pascal Exp $
--- gcc/c/c-decl.c.orig	Thu Apr 10 09:54:08 2014
+++ gcc/c/c-decl.c	Thu May 22 20:04:19 2014
@@ -4859,6 +4859,8 @@ warn_variable_length_array (tree name, tree size)
 		     "variable length array is used");
 	}
     }
+    if (warn_variable_decl)
+      warning (OPT_Wvariable_decl, "variable-sized array %qE", name);
 }
 
 /* Given declspecs and a declarator,
